<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      var myname = prompt("你的姓名");
      var myname1 = prompt("你的年龄");
      var myname2 = prompt("你的性别");
      //   console.log(myname, myname1, myname2);

      alert(myname + myname1 + myname2);
    </script>
  </body>
</html>
